package com.maket.scxx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 缺陷定义对象 qx_defect
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class QxDefect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 缺陷编码 */
    @Excel(name = "缺陷编码")
    private String defectCode;

    /** 缺陷名称 */
    @Excel(name = "缺陷名称")
    private String defectName;

    /** 缺陷分类编码 */
    @Excel(name = "缺陷分类编码")
    private String defectTypeCode;

    /** 备注 */
    @Excel(name = "备注")
    private String other;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isUse;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String cpCode;

    public void setDefectCode(String defectCode) 
    {
        this.defectCode = defectCode;
    }

    public String getDefectCode() 
    {
        return defectCode;
    }
    public void setDefectName(String defectName) 
    {
        this.defectName = defectName;
    }

    public String getDefectName() 
    {
        return defectName;
    }
    public void setDefectTypeCode(String defectTypeCode) 
    {
        this.defectTypeCode = defectTypeCode;
    }

    public String getDefectTypeCode() 
    {
        return defectTypeCode;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }
    public void setIsUse(Long isUse) 
    {
        this.isUse = isUse;
    }

    public Long getIsUse() 
    {
        return isUse;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }
    public void setCpCode(String cpCode) 
    {
        this.cpCode = cpCode;
    }

    public String getCpCode() 
    {
        return cpCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("defectCode", getDefectCode())
            .append("defectName", getDefectName())
            .append("defectTypeCode", getDefectTypeCode())
            .append("other", getOther())
            .append("isUse", getIsUse())
            .append("isDelete", getIsDelete())
            .append("cpCode", getCpCode())
            .toString();
    }
}
